package com.codebattery.repository;

import com.codebattery.domain.entity.GoodsCategory;
import org.springframework.stereotype.Repository;

/**
 * @Author cay91
 * @Date 2020-08-26 2:40 PM
 * @Version 1.0
 */
@Repository
public interface GoodsCategoryMapper {
    int deleteByPrimaryKey(Short categoryId);

    int insert(GoodsCategory record);

    int insertSelective(GoodsCategory record);

    GoodsCategory selectByPrimaryKey(Short categoryId);

    int updateByPrimaryKeySelective(GoodsCategory record);

    int updateByPrimaryKey(GoodsCategory record);
}